CVE-2025-39864
wifi: cfg80211: fix use-after-free in cmp_bss()
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: fix use-after-free in cmp_bss() Following bss_free() quirk introduced in commit 776b3580178f ("cfg80211: track hidden SSID networks properly"), adjust cfg80211_update_known_bss() to free the last beacon frame elements only if they're not shared via the corresponding 'hidden_beacon_bss' pointer.
INFO
Published Date :
Sept. 19, 2025, 4:15 p.m.
Last Modified :
Sept. 19, 2025, 4:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the Linux kernel patch for cfg80211.
- Ensure beacon frames are not freed when shared.
- Update the kernel to include the fix.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-39864
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-39864
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-39864
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-39864
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-39864
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 19, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: fix use-after-free in cmp_bss() Following bss_free() quirk introduced in commit 776b3580178f ("cfg80211: track hidden SSID networks properly"), adjust cfg80211_update_known_bss() to free the last beacon frame elements only if they're not shared via the corresponding 'hidden_beacon_bss' pointer. Added Reference https://git.kernel.org/stable/c/26e84445f02ce6b2fe5f3e0e28ff7add77f35e08 Added Reference https://git.kernel.org/stable/c/5b7ae04969f822283a95c866967e42b4d75e0eef Added Reference https://git.kernel.org/stable/c/6854476d9e1aeaaf05ebc98d610061c2075db07d Added Reference https://git.kernel.org/stable/c/912c4b66bef713a20775cfbf3b5e9bd71525c716 Added Reference https://git.kernel.org/stable/c/a8bb681e879ca3c9f722aa08d3d7ae41c42a8807 Added Reference https://git.kernel.org/stable/c/a97a9791e455bb0cd5e7a38b5abcb05523d4e21c Added Reference https://git.kernel.org/stable/c/b7d08929178c16398278613df07ad65cf63cce9d Added Reference https://git.kernel.org/stable/c/ff040562c10a540b8d851f7f4145fa112977f853